[Top] | [Contents] | [Index] | [ ? ] |
This manual describes the GNU profiler, gprof
, and how you
can use it to determine which parts of a program are taking most of the
execution time. We assume that you know how to write, compile, and
execute programs. GNU gprof
was written by Jay Fenlason.
1. Introduction to Profiling | What profiling means, and why it is useful. | |
2. Compiling a Program for Profiling | How to compile your program for profiling. | |
3. Executing the Program | Executing your program to generate profile data | |
4. gprof Command Summary | How to run gprof , and its options | |
5. Interpreting gprof 's Output | Interpreting gprof 's output | |
6. Inaccuracy of gprof Output | Potential problems you should be aware of | |
7. Answers to Common Questions | Answers to common questions | |
8. Incompatibilities with Unix gprof | (between GNU gprof and Unix gprof .) | |
9. Details of Profiling | Details of how profiling is done |